<style>
.sortdiv_tab{
	zoom: 1;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #336699;
}
.sortdiv_tab li {
	margin: 0;
	padding: 0;
}
.sortdiv_tab li a {
	border-bottom: none;
	cursor: pointer;
}body{font-size:12px;font-family:"宋体";color:#666666;margin:0px;padding:0px;}
a{color:#666; text-decoration: none;}
a:hover{color:#af1717;text-decoration:underline;} 
img{border:0px;}
h1{font-size:12px;font-weight:normal;color:#666;padding:0px;margin:0px;}
ul{list-style-type:none;margin:0px;padding:0px;}
dl,dt,dd{margin:0px;padding:0px;}
.clear{clear:both;}


.pl10{ padding-left:10px;}
.mt10{ margin-top:10px;}
.mb10{ margin-bottom: 10px; }
/*房屋搜索*/
.fangwu_sort{display:inline-block;border-bottom: solid 3px #9fbe01;width:100%; height:27px; _overflow:hidden;}
.fangwu_sort li{  float:left; margin-left:4px; height:32px; overflow:hidden;}
.fangwu_sort li a{ float:left; padding:0 20px 0 15px; display:block; overflow:hidden; font-size:14px;}

.fangwu_sort li.title{ width:90px; height:30px; background-position:0 0; margin-right:10px;}

.fangwu_sort li.out{background:url(/ifuzhou/fangwu.gif) left -49px no-repeat;  padding-left:4px; height:35px; position:relative;top:-5px;}
.fangwu_sort li.out a{background:url(/ifuzhou/fangwu.gif) right -49px no-repeat;color:#f54100;line-height:36px; height:35px;  }

.fangwu_sort li.on{background:url(/ifuzhou/fangwu.gif) left -99px no-repeat;; padding-left:4px; height:27px; margin-bottom:-3px; line-height:28px; position:relative; }
.fangwu_sort li.on a{background:url(/ifuzhou/fangwu.gif) right -99px no-repeat; height:27px; color:#fff; font-weight:bold;text-decoration:none; }

.fangwusearch{ height:100%; overflow:hidden; padding:10px 20px; background-color:#f1f9d9; border:solid 2px #9fbe01; border-top:0;  color:#000000;}
.fangwusearch select{ margin:6px 0 8px; margin-right:15px; vertical-align:middle; }
.fangwusearch #srchtxt{ padding:3px;}
.fangwusearch .kuaisu{border-top:solid 1px #F0F0F0; margin-top:5px; padding-top:8px; color:#000000; line-height:24px;}
.fangwusearch .kuaisu h2{ color:#000000; line-height:20px;}
.fangwusearch .kuaisu a{ padding-right:5px;}
.fangwusearch .kuaisu a.on{ font-weight:bold; color:#f54100;}

</style>
<div class="mb10 mt10">

<ul class="fangwu_sort sortdiv_tab">		
		<li {if !$_G['gp_typeid'] && !$_G['gp_filter']}class="out" {else} class="on" {/if}  ><a href="forum.php?mod=forumdisplay&filter=sortid&searchsort=1&sortid=$_G[gp_sortid]&fid=$_G[fid]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang forum_viewall}</a></li>		
		
			<!--{loop $one_quicksearchlist_array['quicksearchlist'] $option}-->	
			<!--{if  $option[identifier] == 'sex'}-->						
				<!--{loop $option['choices'] $idx $value}-->					
				<li{if $_G['gp_'.$option[identifier]] && $idx == $_G['gp_'.$option[identifier]]} class="out" {else} class="on" {/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&searchsort=1&sortid=$_G[gp_sortid]&$option[identifier]=$idx$sorturladdarray[$option[identifier]]" class="xi2">$value</a></li>
				<!--{/loop}-->			
			<!--{/if}-->						
			<!--{/loop}-->	
	</ul>
	
<div class="fangwusearch">
	
	<form method="post" autocomplete="off" name="searhsort" id="searhsort" class="bm_c pns mfm bbda cl" action="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[gp_sortid]">
		<input type="hidden" name="formhash" value="{FORMHASH}" />
		<!--{loop $quicksearchlist $optionid $option}-->
		<span class="mtm z">
			<!--{if !in_array($option['type'], array('select', 'radio', 'range'))}--><strong>$option[title]: </strong><!--{/if}-->
			<!--{if in_array($option['type'], array('radio', 'checkbox', 'select', 'range'))}-->
				<!--{if $option[type] != 'checkbox'}-->
					<span class="ftid">
						<select name="searchoption[$optionid][value]" id="$option[identifier]">
							<option value="0">$option[title]{lang unlimited}</option>
						<!--{loop $option['choices'] $id $value}-->
							<option value="$id" {if $_G[gp_searchoption][$optionid][value] == $id}selected="selected"{/if}>$value</option>
						<!--{/loop}-->
						</select>
					</span>
					<input type="hidden" name="searchoption[$optionid][type]" value="$option[type]">
					<script type="text/javascript" reload="1">simulateSelect('$option[identifier]'<!--{if $option[type] == 'range'}-->, 90<!--{/if}-->);</script>
				<!--{else}-->
					<!--{loop $option['choices'] $id $value}-->
						<input type="checkbox" class="pc" name="searchoption[$optionid][value][$id]" value="$id" {if $_G[gp_searchoption][$optionid][value][$id]}checked="checked"{/if}> $value 
					<!--{/loop}-->
					<input type="hidden" name="searchoption[$optionid][type]" value="checkbox">
				<!--{/if}-->
			<!--{else}-->
				<!--{if $option['type'] == 'calendar'}-->
					<script type="text/javascript" src="{$_G[setting][jspath]}calendar.js?{VERHASH}"></script>
					<input type="text" name="searchoption[$optionid][value]" size="15" class="px vm" value="$_G[gp_searchoption][$optionid][value]" onclick="showcalendar(event, this, false)" />
				<!--{else}-->
					<input type="text" name="searchoption[$optionid][value]" size="15" class="px vm" value="$_G[gp_searchoption][$optionid][value]" />
				<!--{/if}-->
			<!--{/if}-->
		</span>
		<!--{/loop}-->
		<span class="mtm z"><button type="submit" class="pn pnp vm" name="searchsortsubmit"><em>{lang search}</em></button></span>
	</form>
	<dl class="bm_c ptm tsm cl">
		<!--{loop $quicksearchlist $option}-->
		<dt>$option[title]:</dt>
		<dd>
			<ul>
				<li{if $_G['gp_'.$option[identifier]] == 'all'} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G['gp_sortid']&searchsort=1$filterurladd&$option[identifier]=all$sorturladdarray[$option[identifier]]" class="xi2">{lang unlimited}</a></li>
				<!--{loop $option['choices'] $id $value}-->
					<li{if $_G['gp_'.$option[identifier]] && $id == $_G['gp_'.$option[identifier]]} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[gp_sortid]&searchsort=1&$option[identifier]=$id$sorturladdarray[$option[identifier]]" class="xi2">$value</a></li>
				<!--{/loop}-->
			</ul>
		</dd>
		<!--{/loop}-->
	</dl>
</div>

</div>